<template>
  <div id="layout">
    <Layout>
    <Header :style="{position: 'fixed', width: '100%', zIndex:'1000'}">
      <Nav />
    </Header>
    <Content :style="{margin: '88px 10px 0', background: '#fff', minHeight: '500px'}">
        <router-view/>
    </Content>
    <Footer class="layout-footer-center">2018 - 2118 &copy; ShiYun</Footer>
  </Layout>
  </div>            
</template>

<script>
import Nav from './components/nav'
export default {
  name: 'App',
  components: {
    Nav
  }
}
</script>

<style>
body{
  background: #f5f7f9;
}
 .layout{
        border: 1px solid #d7dde4;
        background: #f5f7f9;
        position: relative;
        border-radius: 4px;
        overflow: hidden;
    }
    .layout-footer-center{
        text-align: center;
    }
</style>
